package com.kl.service.impl;

import com.kl.entity.CityOrder;
import com.kl.mapper.CityOrderMapper;
import com.kl.service.ICityOrderService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author author
 * @since 2021-11-02
 */
@Service
public class CityOrderServiceImpl extends ServiceImpl<CityOrderMapper, CityOrder> implements ICityOrderService {

    @Autowired
    private CityOrderMapper cityOrderMapper;

    @Override
    public void updateByCityOrderId(CityOrder cityOrder) {
        cityOrderMapper.updateById(cityOrder);
    }
}
